#ifndef USERPROVIDER_H
#define USERPROVIDER_H
#include "gamesettings.h"
#include "abstractuserreader.h"
#include "emptyuserreader.h"
#include "emptyuserwriter.h"
#include "abstractuserreader.h"
#include "abstractuserwriter.h"
#include "datasource.h"
#include "user.h"
#include <QList>

class UserProvider
{
public:
    UserProvider();
    QList<User*> *getUsers();
    void saveUsers(QList<User*> *);
private:
    QList<User*>* users;
    AbstractUserReader* reader;
    AbstractUserWriter* writer;
};

#endif // USERPROVIDER_H
